package com.foodconflict.util;

public class QueryInfo {
	private int pageindex;
	private int pagesize;	
	
	public QueryInfo(int pageindex, int pagesize)
	{
		this.pageindex = pageindex <1?1:pageindex;
		this.pagesize = pagesize  ==0?-1:pagesize;
	}

	public int getPageindex() {
		return pageindex;
	}

	public int getPagesize() {
		return pagesize;
	}
}
